import { request } from '../http';
import type { Response } from '../http';

export function getHome() {
  return request.post<Response>('/api/home/info');
}

export function getConfig() {
  return request.post<Response>('/api/home/config');
}

export function invitePageInfo() {
  return request.post('/api/home/invitePageInfo');
}
